﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MatrixGame
{
	public class FieldClickedEventArgs : EventArgs
	{
		public FieldClickedEventArgs(Field field, int row, int column)
		{
			Coordinates = new FieldCoordinates(row, column);
			Field = field;
		}

		public Field Field { get; set; }
		public FieldCoordinates Coordinates { get; set; }

		public void InvertCell()
		{
			Field.InvertCell(Coordinates.Row, Coordinates.Column);
		}
	}
}
